---
title: Face Liveness
description: Amplify UI FaceLivenessDetector provides a UI component for Amazon Rekognition Face Liveness that helps developers verify that only real users, not bad actors using spoofs, can access your services.
supportedFrameworks: react|android|swift
---
import { Fragment } from '@/components/Fragment';
import { getCustomStaticPath } from '@/utils/getCustomStaticPath';
export async function getStaticPaths() {
return getCustomStaticPath(frontmatter.supportedFrameworks);
}
{/* `getStaticProps` is required to prevent "Error: getStaticPaths was added without a getStaticProps. Without getStaticProps, getStaticPaths does nothing" */}
export async function getStaticProps() {
return { props: {} }
}
Amplify UI FaceLivenessDetector is powered by [Amazon Rekognition Face Liveness](https://aws.amazon.com/rekognition/). The following video shows an example of FaceLivenessDetector in action.
{({ platform }) => import(`./intro.${platform}.mdx`)}
To learn more about spoof attempts deterred by Face Liveness, please see this [demonstration video on YouTube](https://www.youtube.com/watch?v=JfzwVl1wy0s).
## Quick start
{({ platform }) => import(`./prerequisite.${platform}.mdx`)}
### Step 1. Configure Auth
{({ platform }) => import(`./quick-start-pull.${platform}.mdx`)}
> See [Rekognition documentation](https://docs.aws.amazon.com/rekognition/latest/dg/recommendations-liveness.html) for best practices when using `FaceLivenessDetector`.
{({ platform }) => import(`./full-api.${platform}.mdx`)}